{% extends "base.html" %}
{% block title %} {{category.name}} - {{blog.title}} {% endblock %}
{% block content%}
<div id="columns">
  <div id="centercol">
    <div class="box post">
      <div class="post-block">
        <div class="post-title full">
          <h1><span> {{category.name}} </span></h1>
        </div>
        <div class="clr"></div>
      </div>
      <div class="clr"></div>
    </div>
    {% if entries %}
    {% for entry in entries %}
    <div class="box post" id="post-{{entry.key}}">
      <div class="content">
        <!--/post-img -->
        <div class="post-title">
          <h2><a target="_blank" href="/{{ entry.link }}" rel="bookmark" title="Permanent Link to {{entry.title}}">{{entry.title}}</a></h2>
        </div>
        <div class="post-excerpt">
          <!--				   	<a href="/{{ entry.link }}" rel="bookmark"><img style="float:left;margin:0px 10px 0px 0px;"  src="http://www.wpmu.com/wp-content/themes/possium/images/Thumbnails.png" alt=" {{entry.title}}" /></a> -->
          {{entry.content_excerpt}}
          <p><span class="bg_rad"> <a href="/{{entry.link}}#comments">评论-{{entry.commentcount}}&raquo;</a> </span></p>
        </div>
        <!--/post-excerpt -->
        <div class="clr"></div>
      </div>
      <!--/content -->
    </div>
    <!--/box -->
    {% endfor %}
    <ul>
      <li>{% if show_next %}<a href="/page/{{ pageindex|add:"1" }}">&laquo; 上一页</a>{%endif%}</li>
      <li>{% if show_prev %}<a href="/page/{{ pageindex|add:"-1" }}">&laquo; 下一页</a>{%endif%}</li>
    </ul>
    <!--//此处分页导航-->
    {% else %}
    <div class="box post">
      <div class="content">
        <div class="post-title">
          <h1>No Posts Were Found</h1>
        </div>
      </div>
    </div>
    {% endif %} </div>
  <!--/centercol -->
  <!--sidebar start -->
  {% include "sidebar.html" %}
  <!--sidebar end -->
  <!--/rightcol -->
  <div class="clr"></div>
</div>
{% endblock %}